package cn.wolfcode.service;

import cn.wolfcode.domain.StrategyComment;
import cn.wolfcode.domain.UserInfo;
import cn.wolfcode.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    void insert(StrategyComment strategyComment);
    void update(StrategyComment strategyComment);
    void delete(String id);
    StrategyComment get(String id);
    List<StrategyComment> listAll();

    Page query(StrategyCommentQuery qo);


    void commentThumb(String cid, UserInfo userInfo);
}
